package com.czx.drivingtest.dao;

import com.czx.drivingtest.model.entity.LocalAuth;

/**
 * @author czx
 * @version 2020/6/11 12:01 上午
 * @since JDK12
 */
public interface AuthDao {
    /**
     * 根据openid查询
     * @param openid
     * @return
     */
    LocalAuth queryLocalAuthByOpenid(String openid);

    /**
     * 添加一个本地的用户信息
     * @param localAuth
     * @return
     */
    int insertLocalAuth(LocalAuth localAuth);
}
